package com.hanbang.taitaigou.ui.widget;

import android.content.Context;
import android.graphics.PointF;
import android.support.v4.view.ViewPager;
import android.util.AttributeSet;
import android.view.GestureDetector;

/**
 * 自定义ViewPager，解决ViewPagger嵌套使用时不滑动问题。 Created by Administrator on 2015/4/20.
 */
public class ViewPagerForScroll extends ViewPager {
	/** 触摸时按下的点 **/
	PointF downP = new PointF();
	/** 触摸时当前的点 **/
	PointF curP = new PointF();

	/** 自定义手势 **/
	private GestureDetector mGestureDetector;

	public ViewPagerForScroll(Context context, AttributeSet attrs) {
		super(context, attrs);
	}

	public ViewPagerForScroll(Context context) {
		super(context);

	}

}